package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商家管理
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_shop")
@TableAlias("shop")
@ApiModel(value = "BusShop对象", description = "商家管理")
public class BusShop extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "shopId", type = IdType.ASSIGN_ID)
    private Long shopId;

    @ApiModelProperty(value = "商家名称")
    private String shopName;

    @ApiModelProperty(value = "商家图片")
    private String shopImg;

    @ApiModelProperty(value = "商家描述")
    private String shopDesc;

    @ApiModelProperty(value = "员工所属机场（不必要）")
    private Long airportId;

    @ApiModelProperty(value = "营业时间")
    private String shopTime;

    @ApiModelProperty(value = "机场地址")
    private String shopAddress;

    @ApiModelProperty(value = "门店电话")
    private String shopPhone;

    @ApiModelProperty(value = "商家类型")
    private String shopCategoryId;

    @ApiModelProperty(value = "是否上架（2不上架，1上架）")
    private Integer isShelf;

    @ApiModelProperty(value = "排序")
    private Integer shopSort;

}
